package com.yc.damai.service;

import com.yc.damai.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ly
 * @since 2022-11-01
 */
public interface IOrdersService extends IService<Orders> {

    @Transactional(rollbackFor = Exception.class)
    public void saveOrder(Orders orders);

}
